projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a337d6
)
Let Ozi write trackname if we have one available.
author
robertl
<robertl>
Wed, 5 Apr 2006 14:18:50 +0000
(14:18 +0000)
committer
robertl
<robertl>
Wed, 5 Apr 2006 14:18:50 +0000
(14:18 +0000)
ozi.c
patch
|
blob
|
history
diff --git
a/ozi.c
b/ozi.c
index 539018ada0df5053a112663661481a155398cbf5..9edd2a75c975fcfb94577a0b1b40a833526c4093 100644
(file)
--- a/
ozi.c
+++ b/
ozi.c
@@
-172,11
+172,12
@@
ozi_track_hdr(const route_head * rte)
"WGS 84\r\n"
"Altitude is in Feet\r\n"
"Reserved 3\r\n"
- "0,2,255,
ComplimentsOfGPSBabel
,0,0,2,8421376\r\n"
+ "0,2,255,
%s
,0,0,2,8421376\r\n"
"0\r\n";
ozi_openfile(ozi_ofname);
- fprintf(file_out, ozi_trk_header);
+ fprintf(file_out, ozi_trk_header,
+ rte->rte_name ? rte->rte_name : "ComplimentsOfGPSBabel");
track_out_count++;
}